<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
	<meta name="author" content="">
	<title></title>
	<% include("../inc/input_css.html"){}%>
	<style>
		label{
			width: 140px!important;
		}
	</style>

</head>

<body>
<div class="ibox">
	<div class="ibox-title">
		<div class="pull-left mbx navbar_title">
			<span class="current">权限管理</span>
			<span class="line">/</span>
			修改密码
		</div>
	</div>
	<div class="ibox-content">
		<div class="wrapper wrapper-content">
			<div class="row">
				<div class="padding-40">
					<form class="form-horizontal form-validate" method="post" id="form" action="/sys/password/update">

						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="maroon">*</span>旧密码</label>
							<div class="col-sm-3">
								<input type="text" name="oldPassword" value="" class="form-control light-input" required="true">
							</div>

						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="maroon">*</span>新密码</label>
							<div class="col-sm-3">
								<input type="text" name="password" value="" class="form-control light-input" required="true">
							</div>

						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="maroon">*</span>确认密码</label>
							<div class="col-sm-3">
								<input type="text" name="surePassword" value="" class="form-control light-input" required="true">
							</div>

						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">头像</label>
							<div class="col-sm-3">
								<input type="hidden" name="headImg" value="${admin.headImg!}" class=" pull-left form-control input-sm" />
								<img class="img-rounded" src="${admin.headImg!}" style="max-height:50px;"/>
								<input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
								<span class="help-block"><span class="maroon"></span>建议300*300像素；格式jpg</span>
							</div>
						</div>

						<div class="form-group" style="margin-top: 24px">
							<label class="col-sm-2 control-label "></label>
							<div class="col-sm-4 col-sm-offset-0">
								<button class="hive-btn hive-btn-primary margin-left-8" type="submit">&nbsp;提交&nbsp;
								</button>
							</div>
						</div>

					</form>


				</div>
			</div>
		</div>
	</div>
</div>

<% include("../inc/input_js.html"){}%>
<!-- 自定义js -->
<script type="text/javascript">
    var uploadUrl="/file/uploadfile?shopId=0&type=d";
    var browserUrl="/file/browser?shopId=0";
</script>
<script src="https://static.9hive.cn/global/vendor/file/file.js"></script>
<script type="text/javascript">
    $(function () {
        $("input.browserButton").browser();
    })
</script>
</body>
</body>
</html>